Repository navigation
overlays: vc4-kms-v3d: Change composite handling - #4689
Conversation
On a Pi 4, enabling composite video disables the HDMI output. As a consequence, the composite output is disabled by default. Change the vc4-kms-v3d overlay used on older Pis to also disable composite by default, replacing the "nocomposite" parameter with a "composite" parameter. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
| nocomposite Disable the composite video output (default | ||
| "off") | ||
| composite Enable the composite output (default "off") | ||
| N.B. Disables all other outputs on a Pi 4. |
There was a problem hiding this comment.
I'll test, but now that we have the correct VEC 108MHz under all circumstances there's probably no need to disable HDMI on Pi4 with composite.
There was a problem hiding this comment.
Which would make the only reason to change the default the behaviour of the desktop environment...
There was a problem hiding this comment.
Doesn't having composite enabled, mean we are outputting a desktop/console picture there, using sdram bandwidth and power. For something 99% of users don't want?
There was a problem hiding this comment.
Just been chasing this through. Composite-1 reports as "unknown", which DRM takes as "use me as a display of last resort". So normally the console will NOT be using it.
X does seem to enable the output regardless of reported connected state.
There was a problem hiding this comment.
It didn't stop us in Pi 3 days, when there was less SDRAM bandwidth to go around.
|
On balance, although it may upset the millions of legacy Pi users using KMS on a composite monitor, making composite output an opt-in is the right outcome. |
See: raspberrypi/linux#4689 kernel: config: Set TCA8418 to module See: raspberrypi/linux#4684 kernel: overlays: Additional parameters for gpio-poweroff See: https://forums.raspberrypi.com/viewtopic.php?t=323508
See: raspberrypi/linux#4689 kernel: config: Set TCA8418 to module See: raspberrypi/linux#4684 kernel: overlays: Additional parameters for gpio-poweroff See: https://forums.raspberrypi.com/viewtopic.php?t=323508
|
This patch has been reverted temporarily because not enabling the composite output has been seen to break HDMI on older Pis. |
On a Pi 4, enabling composite video disables the HDMI output. As a
consequence, the composite output is disabled by default. Change the
vc4-kms-v3d overlay used on older Pis to also disable composite by
default, replacing the "nocomposite" parameter with a "composite"
parameter.
Signed-off-by: Phil Elwell phil@raspberrypi.com